package com.zhangtai.modules.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import com.zhangtai.modules.entity.salary.AwardApplicantEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;


/**
 * 奖罚包表
 *
 */
@Data
public class AwardPackageVo implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 流水号
		 */
			@ApiModelProperty(value="流水号",required = false)
			private String serialNum;
			/**
		 * 申请日期
		 */
			@ApiModelProperty(value="申请日期",required = false)
			private Date applyTime;
			/**
		 * 奖罚包名称
		 */
			@ApiModelProperty(value="奖罚包名称",required = false)
			private String awardName;
			/**
		 * 奖罚种类
		 */
			@ApiModelProperty(value="奖罚种类",required = false)
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long type;
			/**
		 * 奖罚总金额
		 */
			@ApiModelProperty(value="奖罚总金额",required = false)
			private BigDecimal totalAmount;
			/**
		 * 奖罚说明
		 */
			@ApiModelProperty(value="奖罚说明",required = false)
			private String remark;
	/**
	 * 公司id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long orgId;

	/**
	 * 公司
	 */
	private String orgname;

	/**
	 * 奖罚公司列表
	 */
	@ApiModelProperty(value="奖罚公司列表",required = false)
	private ArrayList<AwardApplicantEntity> awardApplicantEntityArrayList;


	/**
	 * 奖罚附件
	 */
	@ApiModelProperty(value="奖罚附件",required = false)
	private ArrayList<String> fileUrlList;

}
